package com.mlh.aop.xml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyCalAspectTest {
    public static void main(String[] args) {
        ApplicationContext ioc = new ClassPathXmlApplicationContext("bean01.xml");
        Cal cal = ioc.getBean(Cal.class);
        cal.cal1(100);
        cal.cal2(10);
    }
}
